import Category from '../model/Category'

class CategoryService {
  //查找所有章节信息
  async findAllCategories() {
    const res = Category.findAll({
      raw: true
    })
    return res
  }
}

export default new CategoryService()
